﻿using YNTK.Common.Const;
using YNTK.Common.Entity;
using SqlSugar;
using System;

namespace YNTK.Extend.Entitys
{
    /// <summary>
    /// 知识文档共享
    /// 版 本：V1.0.0
    /// 版 权：云南通科科技有限公司（https://www.yntkkj.com）
    /// 作 者：李仕鹏
    /// 日 期：2021-06-01  
    /// </summary>
    [SugarTable("EXT_DOCUMENTSHARE")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class DocumentShareEntity : EntityBase<string>
    {
        /// <summary>
        /// 文档主键
        /// </summary>
        [SugarColumn(ColumnName = "F_DOCUMENTID")]
        public string DocumentId { get; set; }
        /// <summary>
        /// 共享人员
        /// </summary>
        [SugarColumn(ColumnName = "F_SHAREUSERID")]
        public string ShareUserId { get; set; }
        /// <summary>
        /// 共享时间
        /// </summary>
        [SugarColumn(ColumnName = "F_SHARETIME")]
        public DateTime? ShareTime { get; set; }
    }
}